﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="JSDWFFolderPageList.aspx.cs" Inherits="IHISCETeim.Web.MachineSys.JSDWF.JSDWFFolderPageList" %>

<div class="pageHeader" style="border:1px #B8D0D6 solid">
    <form id="pagerForm" method="post" action="JSDWF/JSDWFFolderPageList.aspx" onsubmit="return divSearch(this, 'jbsxBox');" >
    <input type="hidden" name="ParFolderID" value="<%=ParFolderID %>" />
    <input type="hidden" name="orderField" value="<%=orderField %>" />
    <input type="hidden" name="orderDirection" value="<%=orderDirection %>" />
    <input type="hidden" name="pageNum" value="1" />
    <input type="hidden" name="numPerPage" value="<%=numPerPage %>" />
    
    <div class="searchBar">
        <table class="searchContent">
            <tr>               
                <td>
                    目录名称： 
                </td>
                <td>
                   <input name="FolderName" type="text" value="<%=FolderName %>"  />
                </td>
                <td>
                     <div class="subBar">
                        <ul>
                            <li>
                                <div class="buttonActive"><div class="buttonContent"><button type="submit">检索</button></div></div>
                            </li>
                        </ul>
                    </div>
                </td>
            </tr>
        </table>
       
    </div>
    </form>
</div>
<div class="pageContent" style="border-left:1px #B8D0D6 solid;border-right:1px #B8D0D6 solid" >
    <div class="panelBar">
        <ul class="toolBar">
              <% if (HasPower(IHISCETeim.Web.Permission.新增))
              {%>
            <li><a class="edit" href="JSDWF/JSDWFFolderAdd.aspx?ParFolderID=<%=ParFolderID %>" rel="JSDWFFolderAdd" target="dialog" title="新增" max=false  mask=true  maxable=false  minable=false  resizable=false drawable=true  width="520" height="200" ><span>新增图纸目录</span></a></li>
          <%} %>
           <% if (HasPower(IHISCETeim.Web.Permission.修改))
              {%>
            <li><a class="edit" href="JSDWF/JSDWFFolderEdit.aspx?FolderID={sid_user}" rel="JSDWFFolderEdit" target="dialog" title="修改" max=false  mask=true  maxable=false  minable=false  resizable=false drawable=true  width="520" height="210" ><span>修改目录名称</span></a></li>
          <%} %>
           <% if (HasPower(IHISCETeim.Web.Permission.删除))
               {%>
            <li><a class="delete" href="sysAjaxDone.ashx?ajaxmethod=DeleteJSDWFFolder&FolderID={sid_user}" target="ajaxTodo" title="确定要删除吗?"><span>删除</span></a></li>
           <%} %>
        </ul>
    </div>
    <asp:repeater id="rpMenu" runat="server">
        <HeaderTemplate>
        <table class="table" width="99%" layouth="128">
        <thead>
            <tr  >          
                <th width="60" <%=GetDataListOrder("ParFolderID") %>>上级目录</th>
                <th width="130" <%=GetDataListOrder("FolderName") %>>
                    目录名称
                </th>                
                <th  width="100">
                    备注
                </th>                
            </tr>
        </thead>
        <tbody>
        </HeaderTemplate>
        <ItemTemplate>
            <tr target="sid_user" rel="<%# Eval("FolderID") %>">                
				<td><%# ParFolderName(Eval("ParFolderID"))%></td>
				<td><%# Eval("FolderName")%></td>
                <td><%# Eval("Remark")%></td>
			</tr>
        </ItemTemplate>
        <FooterTemplate>
            </tbody>
         </table>
        </FooterTemplate>
    </asp:repeater>
    <div class="panelBar">
        <div class="pages">
            <span>显示</span>
            <select class="combox" name="numPerPage" onchange="navTabPageBreak({numPerPage:this.value}, 'jbsxBox')">
               <%=SetnumPerPage() %>
            </select>
            <span>条，共<%=TotalCount%>条</span>
        </div>
        <div class="pagination" rel="jbsxBox" totalcount="<%=TotalCount%>" numperpage="<%=numPerPage %>" pagenumshown="10" currentpage="<%=pageNum %>">
        </div>
    </div>
</div>

